package jimo.bill.service;

import jimo.bill.dao.TypeMapper;
import jimo.bill.pojo.BillType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TypeService {
    @Resource
    private TypeMapper typeMapper;

    public List<BillType> list() {
        return typeMapper.selectAll();
    }
}
